package com.bird.设计模式.结构型.桥接模式;

/**
 * @data 2022/3/16 10:55
 * @author: bird
 * @description: 活期账号
 */
public class SavingAccount implements Account {
    @Override
    public Account openAccount() {
        System.out.println("打开活期账号");
     return new SavingAccount();
    }

    @Override
    public void showAccountType() {
        System.out.println("这是一个获取账号");
    }
}
